package com.hz.house.dao;

import org.apache.ibatis.annotations.Param;

import com.hz.house.bean.entity.SellManScoreBean;

public interface AddScoreMapper {

	//查询用户是否重复点击加分
	int getIsRepeat(@Param("customerId")int customerId,@Param("date")int date);
	
	int  getIsNewCustomer(@Param("customerId")int customerId,
			@Param("sellManCustomerId")int sellManCustomerid,@Param("sceneId")int sceneId);
	
	int addScoreRecord(SellManScoreBean ssb);
	
	int updateSellManScoreItem(SellManScoreBean ssb);

	int getConsultantTotalScore(@Param("sellManCustomerId")int sellManCustomerId);

	int getIsAddFoucusWxgzh(@Param("sellManCustomerId")int sellManCustomerId,@Param("type")int type);
	
	int getIsAddFoucused(@Param("sellManCustomerId")int sellManCustomerId,
			@Param("type")int type,@Param("customerId")int customerId);
	
	int updateSeriesGetScoreDays(@Param("nowDays")int nowDays) throws Exception;
}
